/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package com.plian.system.entity.yth.realproperty;

import com.baomidou.mybatisplus.annotation.TableName;
import com.plian.system.entity.yth.YthBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;

/**
 * 不动产-承租户档案管理表实体类
 *
 * @author BladeX
 * @since 2023-01-09
 */
@Data
@TableName("real_estate_tenant_archives")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Tenant对象", description = "不动产-承租户档案管理表")
public class TenantArchives extends YthBaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 归属单位id
	 */
	@ApiModelProperty(value = "归属单位id")
	private Long belongUnitId;
	/**
	 * 不动产性质（0：土地 1：房产2：出租单元3:承租户）
	 */
	@ApiModelProperty(value = "不动产性质（0：土地 1：房产2：出租单元3:承租户）")
	private Integer realEstateType;
	/**
	 * 承租户编号
	 */
	@ApiModelProperty(value = "承租户编号")
	private String number;
	/**
	 * 变更单号
	 */
	@ApiModelProperty(value = "变更单号")
	private String adjustNumber;
	/**
	 * 承租户名称
	 */
	@ApiModelProperty(value = "承租户名称")
	private String name;
	/**
	 * 承租户类型：（1：个人，2：事业单位，3：企业）
	 */
	@ApiModelProperty(value = "承租户类型：（1：个人，2：事业单位，3：企业）")
	private Integer tenantType;
	/**
	 * 统一社会信用代码（身份证）
	 */
	@ApiModelProperty(value = "统一社会信用代码（身份证）")
	private String identCardNumber;
	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	private String remark;
	/**
	 * 附件ids
	 */
	@ApiModelProperty(value = "附件ids")
	private String attachIds;
	/**
	 * 填报组织id
	 */
	@ApiModelProperty(value = "填报组织id")
	private Long reportOrgId;
	/**
	 * 填报单位
	 */
	@ApiModelProperty(value = "填报单位")
	private String reportOrgName;
	/**
	 * 填报人id
	 */
	@ApiModelProperty(value = "填报人id")
	private Long reportUserId;
	/**
	 * 填报人
	 */
	@ApiModelProperty(value = "填报人")
	private String reportUserName;
	/**
	 * 填报时间
	 */
	@ApiModelProperty(value = "填报时间")
	private LocalDate reportTime;
	/**
	 * 流程实例id
	 */
	@ApiModelProperty(value = "流程实例id")
	private String processInstanceId;
	/**
	 * 流程环节（0：企业内审1：上级审核3：国资委备案）
	 */
	@ApiModelProperty(value = "流程环节（0：企业内审1：上级审核3：国资委备案）")
	private Integer processStatus;
	/**
	 * 审核状态（0：草稿1：待审核2：审核中3：已通过4：已驳回）
	 */
	@ApiModelProperty(value = "审核状态（0：草稿1：待审核2：审核中3：已通过4：已驳回）")
	private Integer auditStatus;
	/**
	 * 出租单元状态（0：登记中1：已登记2：调整中3：注销中4：已注销）
	 */
	@ApiModelProperty(value = "出租单元状态（0：登记中1：已登记2：调整中3：注销中4：已注销）")
	private Integer registerStatus;

	@ApiModelProperty(value = "流程操作类型(0：上报1：调整2：注销)")
	private Integer operateType;

}
